Towards Interactive Logic Programming

نویسندگان

  • Keehang Kwon
  • Mi-Young Park
چکیده

Adding interaction to logic programming is an essential task. Expressive logics such as linear logic provide a theoretical basis for such a mechanism. Unfortunately, none of the existing (linear) logic languages can model interactions with the user because they uses provability as the sole basis for computation. In the operational semantics based on provability, executing the additive-conjunctive goal G0&G1 from a program P simply terminates with a success if both G0 and G1 are solvable from P. This is an unsatisfactory situation, as a central action of & – the action of choosing either G0 or G1 by the user – is missing in this semantics. We propose to modify the operational semantics above to allow for more active participation from the user. We illustrate our idea via Prolog, an extension of Prolog with additive goals. keywords: interaction, logic programming, linear logic, computability logic.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards Ludics Programming: Interactive Proof Search

Girard [10] introduced Ludics as an interactive theory aiming at overcoming the distinction between syntax and semantics in logic. In this paper, we investigate how ludics could serve as a foundation for logic programming, providing a mechanism for interactive proof search, that is proof search by interaction (or proof search by cut-elimination).

متن کامل

Dislop: Towards a Disjunctive Logic Programming System

This paper gives a brief high-level description of the implementation of a disjunctive logic programming system referred to as Dis-LoP. This system is a result of research activities of the Disjunctive Logic Programming-project (funded by Deutsche Forschungs-Gemeinschaft), undertaken by the University of Koblenz since July 1995.

متن کامل

Towards Interactive Object-Oriented Programming

To represent interactive objects, we propose a choice-disjunctive declaration statement of the form S⊔R where S,R are the (procedure or field) declaration statements within a class. This statement has the following semantics: request the user to choose one between S and R when an object of this class is created. This statement is useful for representing interactive objects that require interact...

متن کامل

An interactive weighted fuzzy goal programming technique to solve multi-objective reliability optimization problem

This paper presents an application of interactive fuzzy goal programming to the nonlinear multi-objective reliability optimization problem considering system reliability and cost of the system as objective functions. As the decision maker always have an intention to produce highly reliable system with minimum cost, therefore, we introduce the interactive method to design a high productivity sys...

متن کامل

A Logical Approach to Event Handling in Imperative Languages

While event handling is a key element in modern interactive programming, it is unfortunate that its theoretical foundation is rather weak. To solve this problem, we propose to adopt a game-logical approach of computability logic [2] to event handling. keywords: event handling, game semantics, interaction, computability logic.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1211.6535  شماره 

صفحات  -

تاریخ انتشار 2012